home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20031118-20041115
/
000243_Petri_member@newsguy.com_Thu Apr 22 10:49:18 2004.msg
< prev
next >
Wrap
Internet Message Format
|
2004-11-14
|
3KB
Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.maxwell.syr.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn
From: Petri <Petri_member@newsguy.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Creating FTP connection to port higher than 32767
Date: 22 Apr 2004 03:16:22 -0700
Organization: Newsguy News Service [http://newsguy.com]
Lines: 55
Message-ID: <c6861m02qdn@drn.newsguy.com>
References: <c66g0g02r4l@drn.newsguy.com> <4086E029.3090500@nyc.rr.com> <c66ps60opb@drn.newsguy.com> <4086F2BD.40402@nyc.rr.com>
NNTP-Posting-Host: p-548.newsdawg.com
X-Newsreader: Direct Read News 4.20
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14960
In article <4086F2BD.40402@nyc.rr.com>, Jeffrey Altman says...
>>>> If I try to connect with 'ftp ftp.somesite.net 45451' at the
>>>> Kermit prompt, I get the following response:
>>>> ?Bad port name - "45451"
>>> Change the definition of "ftp_port" in ckcftp.c from "short" to
>>> "unsigned short"
>> I ran 'make clean' and 'make redhat9', but now I get another error
>> message I didn't have before the change:
>> (/root/ckermit/) C-Kermit>set ftp command-protection-level private
>> ?Cannot set protection level to PRIVATE
>> (/root/ckermit/) C-Kermit>set ftp data-protection-level private
>> ?Cannot set protection level to PRIVATE
> If it worked before and doesn't work now, something else must have
> changed.
The only change I made in the source was adding "unsigned" into the variable
declaration, as you specfied above.
Now I noticed this too:
(/root/ckermit/) C-Kermit>set ftp command-protection-level safe
?Cannot set protection level to SAFE
(/root/ckermit/) C-Kermit>set ftp data-protection-level safe
?Cannot set protection level to SAFE
I haven't tried the SAFE setting before, I haven't needed it.
But I have used PRIVATE without any warnings, that I am sure of.
The docs says SAFE and PRIVATE have "protected against tampering" in common, I
guess that means it's a hashing of the data.
I removed the "unsigned" declaration and recompiled for redhat9 again, to see if
the error message really disappears after the change is undone, and it does not.
PRIVATE does not work any more.
Maybe I'm crazy, but I ran Kermit several times earlier, to find the most
optimum settings for my needs.
I was satisfied when everything worked and I had no error messages.
I haven't changed anything in the system, I've only copied dependencies to the
glftpd jail.
I have run Kermit with strace, to see if there are any system dependencies that
are not found, but there is nothing there that I can interpret from it.
Neither have I touched C in a decade, so the source isn't that helpful either.
I do get a lot of warnings when I run 'make redhat9', as I commented in an
earlier post.
Is that normal?
Is it perhaps related to this?
This system has all available updates from the Redhat Up2date service, except
those for X.
Petri